/**
 * 
 */
package za.co.sindi.oauth.server.config;

import java.io.InputStream;
import java.net.URL;

import za.co.sindi.oauth.core.scanner.ClassScanner;
import za.co.sindi.oauth.exception.ConfigBuilderException;

/**
 * @author Buhake Sindi
 * @since 12 April 2012
 *
 */
public interface ConfigBuilder {

	public void setClassScanner(ClassScanner scanner);
	public void setBasePackageName(String basePackageName);
	public ModuleConfig build(URL resource) throws ConfigBuilderException;
	public ModuleConfig build(InputStream input) throws ConfigBuilderException;
}
